const path = require('path');

// path.join(路径片段) 将若干路径片段 拼接成一个路径
// console.log(path.join("/a","/b","/c"));

console.log(path.resolve('/a', '/b', '/c'));